home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 01 / 3 / DISK0130.ZIP / CHARCNT.MAN < prev    next >
Text File  |  1983-09-07  |  424b  |  20 lines

  1. .im man.im
  2. .NM charcnt count characters in input
  3. .SY charcnt
  4. .FU
  5. .ital charcnt
  6. counts the characters in its input and writes the total as a single
  7. line of text to the output.
  8. Since each line of text is internally delimited by a
  9. .ital NEWLINE
  10. character, the total count is the number of lines plus the number of characters
  11. within each line.
  12. .EG
  13. .Q1
  14. charcnt
  15. A single line of input.
  16. <ENDFILE>
  17. .ital 24
  18. .Q2
  19.  
  20.